﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models
{
    [Table("T_ScrapOrder")]
    public class ScrapOrder:BaseEntity
    {
        public string OrderSn { get; set; }

        /// <summary>
        /// 1:创建 2:提交 3:完成
        /// </summary>
        public int Status { get; set; }

        public string Remark { get; set; }

        /// <summary>
        /// 使用人
        /// </summary>
        public string SubmitPeople { get; set; }

        [NotMapped]
        public List<ScrapOrderDetail> Details { get; set; } = new List<ScrapOrderDetail>();
    }
}
